Not all existing outlinks will be found???

Dear Experts,

I just saw the anothe rpost about inlinks, but my problem differs a little bit.

I'm using the code like below but it won't find the manual created links. Only the links will be counted was I made with a script.
 

Object o = null
Module m = edit(mPath, false, true)
for o in m do {
 for lnk in o -> "*" do {
 ...
 }
}

 


What I'm doing wrong?

Thanks in advance!!!

vasgyuszi

 


vasgyuszi - Fri Oct 15 12:18:02 EDT 2010

Re: Not all existing outlinks will be found???
vasgyuszi - Fri Oct 15 12:21:14 EDT 2010

Of course:

Link   lnk = null

Re: Not all existing outlinks will be found???
Mathias Mamsch - Fri Oct 15 15:09:56 EDT 2010

Is it possible that the links, that point to baselines or external links are not found? In case of baselines you would have to do:
 

for lnk in all (o->"*") do { 
// ...
}

to get those links.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Not all existing outlinks will be found???
vasgyuszi - Mon Oct 18 04:18:44 EDT 2010

Mathias Mamsch - Fri Oct 15 15:09:56 EDT 2010

Is it possible that the links, that point to baselines or external links are not found? In case of baselines you would have to do:
 

for lnk in all (o->"*") do { 
// ...
}

to get those links.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

A big thank You, Mathias, it works!!!

How is this trick described in official papers? There are alot of such behaviours, would be good to know but nowhere explained (except on this great forum).

vasgyuszi